/**
 * 
 */
package com.kelaite.procurement.common;

/**
 * @author yuanchangwei
 *
 */
public enum RetCodeEnum {

	SUCCESS("0000", "成功"),

	FAIL("0001", "失败"),

	SYSTEM_EXCEPTION("0002", "系统异常"),

	USERNAME_NULL("0003", "用户名为空"),

	PASSWORD_NULL("0004", "密码为空"),

	USER_NOT_EXSIST("0005", "用户不存在"),

	PASSWORD_ERROR("0006", "密码输入错误"),

	PURCHASE_ORDER_PAYMENT_REPEAT("0007", "里程碑重复"),

	TOTAL_PLAN_AMOUNT_EXCEED_ORDER_PRICE("0008", "里程碑计划总金额超出订单金额"),

	MATERIAL_NAME_REPEAT("0009", "商品名称重复"),

	SUBMIT_ZERO_ITEMS("0010", "提交了零条记录"),

	ORDER_ITEM_REPEAT("0011", "订单条目重复");

	private RetCodeEnum(String code, String msg) {

		this.code = code;
		this.msg = msg;
	}

	private String code;

	private String msg;

	public String getCode() {

		return code;
	}

	public void setCode(String code) {

		this.code = code;
	}

	public String getMsg() {

		return msg;
	}

	public void setMsg(String msg) {

		this.msg = msg;
	}

}
